package sk.fhi.shared.rpc.result;

import sk.fhi.shared.model.AbstractEntity;
import sk.fhi.shared.rpc.AbstractResult;

/**
 * Generic action for save entity
 * 
 * @author Michal Somora
 * 
 */
public class SaveResult extends AbstractResult {

	private AbstractEntity entity;

	public SaveResult() {
		super();
	}
	
	public SaveResult(AbstractEntity entity) {
		super();
		this.entity = entity;
	}

	public AbstractEntity getEntity() {
		return entity;
	}

}
